"""
计算10的阶乘
"""
a = 1
b = int (input("请输入数值："))

for x in range(1 , b + 1):
    a = a * x
print(a)